package yesjava;

/**
 * 演示数据类型
 */
public class Hello2 {
    public static void main(String[] args) {
//       byte short int long
        int max = 2147483647;
        System.out.println(Integer.MAX_VALUE);
//1111ll1l1l1l1l11lllll1l1l1l1l1l1l1111l
        long la = 55L;
        System.out.println(5);//方法的调用讲究两个字，匹配
//        规范永远比语法重要
        double d = 6.6;
        float f1 = 6.6f;

     /*   boolean rs = 6 > 3;
        System.out.println(rs);*/

        long lb = 86L;
        float fb = lb;
        lb = (long) fb;

        byte b1 = 100;
        byte b2 = 10;
        byte b3 = (byte) (b1 + b2);
//        double r= 3.6 + 85 + 96L + b1 + 7.8f;
        System.out.println(1.0-0.9);

//        演示字符 开始
//        char c = 'A';
       /* System.out.println((int)'国');
        System.out.println((char)65);
        char c = '国';*/
       char c = '\u0041';
        System.out.println(c);


//        演示字符 结束




    }
}
